const express = require('express')
const path = require('path')
const app = express()
const port = 3000

var history = require('connect-history-api-fallback');
app.use(express.static(path.join(__dirname, 'dist')));
app.use(history());

app.listen(port, () => {
  console.log(`Example app listening at http://localhost:${port}`)
})
